// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import store from './store'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.config.productionTip = false
/* eslint-disable no-new */
import Icon from 'vue-svg-icon/Icon.vue';
Vue.component('icon', Icon);
import BScroll from 'better-scroll'
         // 饿了么
//轮播
import { Spinner } from 'mint-ui';
//跳转
import { Cell } from 'mint-ui';
//下拉加载更多
import { Loadmore } from 'mint-ui';
//弹出框
import { Popup } from 'mint-ui';

Vue.component("mt-popup", Popup);
Vue.component("mt-loadmore", Loadmore);
Vue.component("mt-cell", Cell)
Vue.component("mt-spinner", Spinner);
Vue.prototype.$http = axios;
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
